﻿using System.Windows;
using LuceneSearch.ContactApp.Bootstrapping;

namespace LuceneSearch.ContactApp
{
    public partial class App
    {
        private bool initialized;

        public App()
        {
            Startup += App_Startup;
        }

        void App_Startup(object sender, StartupEventArgs e)
        {
            if (initialized) return;

            new Bootstrapper().Initialize();

            initialized = true;
        }
    }
}
